Avoid double app menu fallback
authorMatthias Clasen <mclasen@redhat.com>
Fri, 13 Dec 2013 06:00:13 +0000 (01:00 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 13 Dec 2013 06:02:36 +0000 (01:02 -0500)
commitacdd9c8ed682319c12bb22f84d1703b744ac4147
tree997d324975e376a5e0a301399d5997d69292ccb8
parent3b8bf016047e25f5cdbcaf8f31bc50cc857b561f
Avoid double app menu fallback

Both GtkApplicationWindow and GtkHeaderBar listen for changes
of the gtk-shell-shows-app-menu setting, so they need to somehow
coordinate who is going to take action and show a fallback.
We prefer the menu button in the title over the menubar, so
let GtkApplicationWindow opt out if it finds that the header bar
has been configured to show window controls.
gtk/gtkwindow.c